package com.zenagro.actions.pedido;

import java.util.*;

import org.openxava.actions.*;

import com.zenagro.domain.zenagro.*;

public class AgricultorBuscarCultivosAction extends ReferenceSearchAction {

	
	@Override
	public void execute() throws Exception {
	   
		super.execute();
		Integer agricultorId=(Integer) this.getPreviousView().getValue("agricultor.id");
		String baseCondition="${finca.agricultor.id}="+agricultorId;
		
		this.getTab().setBaseCondition(baseCondition);
		
	}
}
